package com.ylyq.ylxx.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotNull;
import java.net.URL;

/**
 * @author 577
 * @className CreateCoverRequest
 * @date 2020/10/29
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "创建第三方落地页站点的请求参数")
public class CreateCoverRequest {

    @ApiModelProperty(value = "广告主ID",required = true)
    @NotNull(message = "广告主ID不能为空")
    private Long advertiser_id;

    @ApiModelProperty(value = "站点名称, 长度限制，1-50 字",required = true)
    private String name;

    @ApiModelProperty(value = "站点URL",required = true)
    private String url;

    @ApiModelProperty(value = "落地页ID",required = true)
    private String id;
}